package com.ruoyi.mall.ware.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 wms_purchase_detail
 *
 * @author zhangqishu
 * @date 2022-06-14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName(value = "wms_purchase_detail")
public class PurchaseDetail {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 采购单id
     */
    @Excel(name = "采购单id")
    private Long purchaseId;

    /**
     * 采购商品id
     */
    @Excel(name = "采购商品id")
    private Long skuId;

    /**
     * 采购数量
     */
    @Excel(name = "采购数量")
    private Long skuNum;

    /**
     * 采购金额
     */
    @Excel(name = "采购金额")
    private BigDecimal skuPrice;

    /**
     * 仓库id
     */
    @Excel(name = "仓库id")
    private Long wareId;

    /**
     * 状态[0新建，1已分配，2正在采购，3已完成，4采购失败]
     */
    @Excel(name = "状态[0新建，1已分配，2正在采购，3已完成，4采购失败]")
    private Integer status;

}
